package com.tidc.provider8001.service.impl;

import com.sun.jersey.api.NotFoundException;
import com.tidc.provider8001.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @ClassNmae TestServiceImpl
 * @Description TODO
 * @Author 14631
 **/
@Service
public class TestServiceImpl implements TestService{
	@Override
	public String test(int id) {
		if(id==1)throw new NotFoundException("test");
		return "test";
	}
}
